-
Home
-
Square Sync for WooCommerce | Comprehensive Data Sync Between Square and WooCommerce
-
4.0.0
-
Code
-
Classes
- OrdersController
Total Complexity |
71 |
Dependencies |
11 |
Dependents |
2 |
Total lines |
643 |
Lines of code |
440 |
Logical lines of code |
194 |
Comment lines |
109 |
Methods |
17 |
Properties |
2 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_orders() |
B |
33 |
16 |
93 |
create_square_order() |
A |
44 |
9 |
40 |
getOrderFulfillments() |
A |
42 |
6 |
54 |
prepareSquareOrderData() |
S |
45 |
5 |
41 |
getOrderLineItems() |
S |
49 |
4 |
29 |
getCommonProductTaxRate() |
S |
61 |
5 |
11 |
getOrCreateSquareCustomer() |
S |
53 |
4 |
22 |
addFeeLineItems() |
S |
55 |
4 |
19 |
formatNewCustomerData() |
S |
50 |
3 |
28 |
getProductTaxRate() |
S |
67 |
4 |
7 |
payForOrder() |
S |
54 |
2 |
19 |
addShippingLineItem() |
S |
58 |
2 |
16 |
getOrderDiscounts() |
S |
59 |
2 |
15 |
calculateTotalOrderTaxDetails() |
S |
61 |
2 |
11 |
register_routes() |
S |
58 |
1 |
18 |
mapOrderStatus() |
S |
62 |
1 |
12 |
createOrderInSquare() |
S |
72 |
1 |
5 |